import myAxios from '@/utils/request'
import requestUrl from './requestUrl'
export function getQinTokenRequest () {
  // /uploadImgToken/
  return myAxios.request({
    url: '/uploadImgToken/',
    method: 'post',
    data: {
      accessKey: '******************************',
      secretKey: '*******************************',
      buckety: /* 七牛云配置的域名 */''
    }
  })
}
// 获取表格数据
export function getTableDataRequest (requestParams) {
  return myAxios.request({
    url: requestUrl[requestParams.url],
    method: requestParams.method || 'post',
    data: requestParams.data
  })
}
// 获取省市区数据
export function getPlaceDataRequest (data) {
  return myAxios.request({
    url: '/cityPicker/',
    method: 'post',
    data
  })
}
